<?php
/**
 * 
 */
namespace app\home\controller\bank;

use app\home\controller\Base;

class Api extends Base
{

	/**
	 * 银行列表接口
	 * @return [type] [description]
	 */
	public function bank(){
		$data = model('bank')::bankStatus(1);
		return json($data);
	}

	/**
	 * 银行卡接口
	 * @return [type] [description]
	 */
	public function bank_card(){
		$data = model('member_bank_card')->memberBankCards(UID);
		$data['code'] = 1;
		return json($data);
	}

}